import Mock from "mockjs";


Mock.mock("/api/login", {
    code: 200,
    message:"登陆成功",
    token:200
})

Mock.mock("/api/list", {
    code: 200,
    "list|10-16": [{
        "id": "@id",
        "title": "@ctitle(5,9)",
        "img": "@image(80x80,@color)",
        "comment|1-1000": 1,
        "price|1-1000": 1,
    }]
})